package com.order.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.order.dao.outbound_recordDao;
import com.order.po.outbound_record;
import com.order.po.put_record;
import com.order.service.outbound_recordService;
@Service
@Transactional
public class outbound_recordServiceImpl implements outbound_recordService {
	@Autowired
	   private outbound_recordDao outbound_recordDao;
	@Override
	public List<outbound_record> get_outboundbyid(String parameter) {
		// TODO Auto-generated method stub
		return outbound_recordDao.get_outboundbyid(parameter);
	}
	@Override
	public void insert_outbound_record(List<outbound_record> list) {
		// TODO Auto-generated method stub
		for(int i=0;i<list.size();i++) {
			outbound_record o = list.get(i);
			outbound_recordDao.insert_outbound_record(o);
		}
	}

}
